package openAi.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author caihe
 * @date 2023/3/28 10:52
 */
@RestController
@RequestMapping("/chat")
@Api("ChatGpt测试")
public class ChatController {
    @ApiOperation("aa")
    @GetMapping
    public String chat() {

//        ErrConfig.errorMessage(" ", " ");
        return "success";
    }
    
}
